<?php require("../controlador/controlador_login.php"); ?>
<!DOCTYPE html> 
<html>
<head>
<meta charset="utf-8">
<title>Aplic. Web de jQuery Mobile</title>

</head> 
<body> 

<div data-role="page" id="page">
	<div data-role="header">
			<h1>Entrada Nomina</h1>
	</div>
	<div data-role="content" data-counttheme="a">
    <form id="loginform" name="loginform" method="POST"  action="<?php echo $loginFormAction; ?>">
<div data-role="fieldcontain">
<label for="username">Usuario:</label>
<input name="entrada[]" type="text" id="username"  >

<label for="password">Clave:</label>
<input name="entrada[]" type="password" id="password" >


<input type="hidden" name="entrada[]" id="ip" value="<?php echo $_SERVER['REMOTE_ADDR']; ?>" />
 <input type="hidden" name="entrada[]" id="fecha" value="<?php echo  $_SESSION["ultimoacceso"] = date("Y-n-j H:i:s"); ?>" />
 
<input type="submit"  name="login" value="Ingresar" id="login" >
	  </div>
</form>
	
	
	</div>
		<div data-role="footer" data-position="fixed">
		<h4>INDUSTRIAS PARTMO 2012</h4>
	</div>
</div>



</div>

</body>
</html>

